package com.ruoyi.binance.mapper;

import java.util.List;
import com.ruoyi.binance.domain.BinanceAverageBuySell;

/**
 * 均价买卖Mapper接口
 * 
 * @author zq
 * @date 2025-08-15
 */
public interface BinanceAverageBuySellMapper 
{
    /**
     * 查询均价买卖
     * 
     * @param code 均价买卖主键
     * @return 均价买卖
     */
    public BinanceAverageBuySell selectBinanceAverageBuySellByCode(String code);

    /**
     * 查询均价买卖列表
     * 
     * @param binanceAverageBuySell 均价买卖
     * @return 均价买卖集合
     */
    public List<BinanceAverageBuySell> selectBinanceAverageBuySellList(BinanceAverageBuySell binanceAverageBuySell);

    /**
     * 新增均价买卖
     * 
     * @param binanceAverageBuySell 均价买卖
     * @return 结果
     */
    public int insertBinanceAverageBuySell(BinanceAverageBuySell binanceAverageBuySell);

    /**
     * 修改均价买卖
     * 
     * @param binanceAverageBuySell 均价买卖
     * @return 结果
     */
    public int updateBinanceAverageBuySell(BinanceAverageBuySell binanceAverageBuySell);

    /**
     * 删除均价买卖
     * 
     * @param code 均价买卖主键
     * @return 结果
     */
    public int deleteBinanceAverageBuySellByCode(String code);

    /**
     * 批量删除均价买卖
     * 
     * @param codes 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBinanceAverageBuySellByCodes(String[] codes);
}
